Optimal. Leaf size=244 \[ -\frac {b c d x \sqrt {-1+c^2 x^2}}{3 e^2 \left (c^2 d+e\right ) \sqrt {c^2 x^2} \sqrt {d+e x^2}}-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}+\frac {8 b c \sqrt {d} x \text {ArcTan}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{3 e^3 \sqrt {c^2 x^2}}-\frac {b x \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )}{e^{5/2} \sqrt {c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.78, antiderivative size = 244, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 11, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {272, 45,
5346, 12, 1628, 163, 65, 223, 212, 95, 210} \begin {gather*} -\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}+\frac {8 b c \sqrt {d} x \text {ArcTan}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {c^2 x^2-1}}\right )}{3 e^3 \sqrt {c^2 x^2}}-\frac {b x \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {c^2 x^2-1}}{c \sqrt {d+e x^2}}\right )}{e^{5/2} \sqrt {c^2 x^2}}-\frac {b c d x \sqrt {c^2 x^2-1}}{3 e^2 \sqrt {c^2 x^2} \left (c^2 d+e\right ) \sqrt {d+e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 45
Rule 65
Rule 95
Rule 163
Rule 210
Rule 212
Rule 223
Rule 272
Rule 1628
Rule 5346
Rubi steps
\begin {align*} \int \frac {x^5 \left (a+b \sec ^{-1}(c x)\right )}{\left (d+e x^2\right )^{5/2}} \, dx &=-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}-\frac {(b c x) \int \frac {8 d^2+12 d e x^2+3 e^2 x^4}{3 e^3 x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}} \, dx}{\sqrt {c^2 x^2}}\\ &=-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}-\frac {(b c x) \int \frac {8 d^2+12 d e x^2+3 e^2 x^4}{x \sqrt {-1+c^2 x^2} \left (d+e x^2\right )^{3/2}} \, dx}{3 e^3 \sqrt {c^2 x^2}}\\ &=-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}-\frac {(b c x) \text {Subst}\left (\int \frac {8 d^2+12 d e x+3 e^2 x^2}{x \sqrt {-1+c^2 x} (d+e x)^{3/2}} \, dx,x,x^2\right )}{6 e^3 \sqrt {c^2 x^2}}\\ &=-\frac {b c d x \sqrt {-1+c^2 x^2}}{3 e^2 \left (c^2 d+e\right ) \sqrt {c^2 x^2} \sqrt {d+e x^2}}-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}+\frac {(b c x) \text {Subst}\left (\int \frac {-4 d^2 \left (c^2 d+e\right )-\frac {3}{2} d e \left (c^2 d+e\right ) x}{x \sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{3 d e^3 \left (c^2 d+e\right ) \sqrt {c^2 x^2}}\\ &=-\frac {b c d x \sqrt {-1+c^2 x^2}}{3 e^2 \left (c^2 d+e\right ) \sqrt {c^2 x^2} \sqrt {d+e x^2}}-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}-\frac {(4 b c d x) \text {Subst}\left (\int \frac {1}{x \sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{3 e^3 \sqrt {c^2 x^2}}-\frac {(b c x) \text {Subst}\left (\int \frac {1}{\sqrt {-1+c^2 x} \sqrt {d+e x}} \, dx,x,x^2\right )}{2 e^2 \sqrt {c^2 x^2}}\\ &=-\frac {b c d x \sqrt {-1+c^2 x^2}}{3 e^2 \left (c^2 d+e\right ) \sqrt {c^2 x^2} \sqrt {d+e x^2}}-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}-\frac {(8 b c d x) \text {Subst}\left (\int \frac {1}{-d-x^2} \, dx,x,\frac {\sqrt {d+e x^2}}{\sqrt {-1+c^2 x^2}}\right )}{3 e^3 \sqrt {c^2 x^2}}-\frac {(b x) \text {Subst}\left (\int \frac {1}{\sqrt {d+\frac {e}{c^2}+\frac {e x^2}{c^2}}} \, dx,x,\sqrt {-1+c^2 x^2}\right )}{c e^2 \sqrt {c^2 x^2}}\\ &=-\frac {b c d x \sqrt {-1+c^2 x^2}}{3 e^2 \left (c^2 d+e\right ) \sqrt {c^2 x^2} \sqrt {d+e x^2}}-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}+\frac {8 b c \sqrt {d} x \tan ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{3 e^3 \sqrt {c^2 x^2}}-\frac {(b x) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{c^2}} \, dx,x,\frac {\sqrt {-1+c^2 x^2}}{\sqrt {d+e x^2}}\right )}{c e^2 \sqrt {c^2 x^2}}\\ &=-\frac {b c d x \sqrt {-1+c^2 x^2}}{3 e^2 \left (c^2 d+e\right ) \sqrt {c^2 x^2} \sqrt {d+e x^2}}-\frac {d^2 \left (a+b \sec ^{-1}(c x)\right )}{3 e^3 \left (d+e x^2\right )^{3/2}}+\frac {2 d \left (a+b \sec ^{-1}(c x)\right )}{e^3 \sqrt {d+e x^2}}+\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{e^3}+\frac {8 b c \sqrt {d} x \tan ^{-1}\left (\frac {\sqrt {d+e x^2}}{\sqrt {d} \sqrt {-1+c^2 x^2}}\right )}{3 e^3 \sqrt {c^2 x^2}}-\frac {b x \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )}{e^{5/2} \sqrt {c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.13, size = 238, normalized size = 0.98 \begin {gather*} \frac {-b c d e \sqrt {1-\frac {1}{c^2 x^2}} x \left (d+e x^2\right )+a \left (c^2 d+e\right ) \left (8 d^2+12 d e x^2+3 e^2 x^4\right )+b \left (c^2 d+e\right ) \left (8 d^2+12 d e x^2+3 e^2 x^4\right ) \sec ^{-1}(c x)}{3 e^3 \left (c^2 d+e\right ) \left (d+e x^2\right )^{3/2}}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \left (8 c \sqrt {d} \text {ArcTan}\left (\frac {\sqrt {d} \sqrt {-1+c^2 x^2}}{\sqrt {d+e x^2}}\right )+3 \sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {-1+c^2 x^2}}{c \sqrt {d+e x^2}}\right )\right )}{3 e^3 \sqrt {-1+c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 3.26, size = 0, normalized size = 0.00 \[\int \frac {x^{5} \left (a +b \,\mathrm {arcsec}\left (c x \right )\right )}{\left (e \,x^{2}+d \right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 543 vs.
\(2 (206) = 412\).
time = 2.68, size = 1112, normalized size = 4.56 \begin {gather*} \left [\frac {3 \, {\left (b c^{2} d^{3} + b x^{4} e^{3} + {\left (b c^{2} d x^{4} + 2 \, b d x^{2}\right )} e^{2} + {\left (2 \, b c^{2} d^{2} x^{2} + b d^{2}\right )} e\right )} e^{\frac {1}{2}} \log \left (c^{4} d^{2} - 4 \, {\left (c^{3} d + {\left (2 \, c^{3} x^{2} - c\right )} e\right )} \sqrt {c^{2} x^{2} - 1} \sqrt {x^{2} e + d} e^{\frac {1}{2}} + {\left (8 \, c^{4} x^{4} - 8 \, c^{2} x^{2} + 1\right )} e^{2} + 2 \, {\left (4 \, c^{4} d x^{2} - 3 \, c^{2} d\right )} e\right ) + 8 \, {\left (b c^{3} d^{3} + b c x^{4} e^{3} + {\left (b c^{3} d x^{4} + 2 \, b c d x^{2}\right )} e^{2} + {\left (2 \, b c^{3} d^{2} x^{2} + b c d^{2}\right )} e\right )} \sqrt {-d} \log \left (\frac {c^{4} d^{2} x^{4} - 8 \, c^{2} d^{2} x^{2} + x^{4} e^{2} - 4 \, {\left (c^{2} d x^{2} - x^{2} e - 2 \, d\right )} \sqrt {c^{2} x^{2} - 1} \sqrt {x^{2} e + d} \sqrt {-d} + 8 \, d^{2} - 2 \, {\left (3 \, c^{2} d x^{4} - 4 \, d x^{2}\right )} e}{x^{4}}\right ) + 4 \, {\left (8 \, a c^{3} d^{3} + 3 \, a c x^{4} e^{3} + {\left (8 \, b c^{3} d^{3} + 3 \, b c x^{4} e^{3} + 3 \, {\left (b c^{3} d x^{4} + 4 \, b c d x^{2}\right )} e^{2} + 4 \, {\left (3 \, b c^{3} d^{2} x^{2} + 2 \, b c d^{2}\right )} e\right )} \operatorname {arcsec}\left (c x\right ) + 3 \, {\left (a c^{3} d x^{4} + 4 \, a c d x^{2}\right )} e^{2} + 4 \, {\left (3 \, a c^{3} d^{2} x^{2} + 2 \, a c d^{2}\right )} e - {\left (b c d x^{2} e^{2} + b c d^{2} e\right )} \sqrt {c^{2} x^{2} - 1}\right )} \sqrt {x^{2} e + d}}{12 \, {\left (c^{3} d^{3} e^{3} + c x^{4} e^{6} + {\left (c^{3} d x^{4} + 2 \, c d x^{2}\right )} e^{5} + {\left (2 \, c^{3} d^{2} x^{2} + c d^{2}\right )} e^{4}\right )}}, \frac {3 \, {\left (b c^{2} d^{3} + b x^{4} e^{3} + {\left (b c^{2} d x^{4} + 2 \, b d x^{2}\right )} e^{2} + {\left (2 \, b c^{2} d^{2} x^{2} + b d^{2}\right )} e\right )} e^{\frac {1}{2}} \log \left (c^{4} d^{2} - 4 \, {\left (c^{3} d + {\left (2 \, c^{3} x^{2} - c\right )} e\right )} \sqrt {c^{2} x^{2} - 1} \sqrt {x^{2} e + d} e^{\frac {1}{2}} + {\left (8 \, c^{4} x^{4} - 8 \, c^{2} x^{2} + 1\right )} e^{2} + 2 \, {\left (4 \, c^{4} d x^{2} - 3 \, c^{2} d\right )} e\right ) + 16 \, {\left (b c^{3} d^{3} + b c x^{4} e^{3} + {\left (b c^{3} d x^{4} + 2 \, b c d x^{2}\right )} e^{2} + {\left (2 \, b c^{3} d^{2} x^{2} + b c d^{2}\right )} e\right )} \sqrt {d} \arctan \left (-\frac {{\left (c^{2} d x^{2} - x^{2} e - 2 \, d\right )} \sqrt {c^{2} x^{2} - 1} \sqrt {x^{2} e + d} \sqrt {d}}{2 \, {\left (c^{2} d^{2} x^{2} - d^{2} + {\left (c^{2} d x^{4} - d x^{2}\right )} e\right )}}\right ) + 4 \, {\left (8 \, a c^{3} d^{3} + 3 \, a c x^{4} e^{3} + {\left (8 \, b c^{3} d^{3} + 3 \, b c x^{4} e^{3} + 3 \, {\left (b c^{3} d x^{4} + 4 \, b c d x^{2}\right )} e^{2} + 4 \, {\left (3 \, b c^{3} d^{2} x^{2} + 2 \, b c d^{2}\right )} e\right )} \operatorname {arcsec}\left (c x\right ) + 3 \, {\left (a c^{3} d x^{4} + 4 \, a c d x^{2}\right )} e^{2} + 4 \, {\left (3 \, a c^{3} d^{2} x^{2} + 2 \, a c d^{2}\right )} e - {\left (b c d x^{2} e^{2} + b c d^{2} e\right )} \sqrt {c^{2} x^{2} - 1}\right )} \sqrt {x^{2} e + d}}{12 \, {\left (c^{3} d^{3} e^{3} + c x^{4} e^{6} + {\left (c^{3} d x^{4} + 2 \, c d x^{2}\right )} e^{5} + {\left (2 \, c^{3} d^{2} x^{2} + c d^{2}\right )} e^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^5\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right )}{{\left (e\,x^2+d\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________